/**
 */
package org.karelun.whiteboard.impl;

import org.eclipse.emf.ecore.EClass;

import org.karelun.whiteboard.Location;
import org.karelun.whiteboard.Triangle;
import org.karelun.whiteboard.WhiteboardPackage;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>Triangle</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link org.karelun.whiteboard.impl.TriangleImpl#getTopPointA <em>Top Point A</em>}</li>
 *   <li>{@link org.karelun.whiteboard.impl.TriangleImpl#getTopPointB <em>Top Point B</em>}</li>
 *   <li>{@link org.karelun.whiteboard.impl.TriangleImpl#getTopPointC <em>Top Point C</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public class TriangleImpl extends ShapeImpl implements Triangle {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected TriangleImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return WhiteboardPackage.Literals.TRIANGLE;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Location getTopPointA() {
		return (Location)eGet(WhiteboardPackage.Literals.TRIANGLE__TOP_POINT_A, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setTopPointA(Location newTopPointA) {
		eSet(WhiteboardPackage.Literals.TRIANGLE__TOP_POINT_A, newTopPointA);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Location getTopPointB() {
		return (Location)eGet(WhiteboardPackage.Literals.TRIANGLE__TOP_POINT_B, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setTopPointB(Location newTopPointB) {
		eSet(WhiteboardPackage.Literals.TRIANGLE__TOP_POINT_B, newTopPointB);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Location getTopPointC() {
		return (Location)eGet(WhiteboardPackage.Literals.TRIANGLE__TOP_POINT_C, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setTopPointC(Location newTopPointC) {
		eSet(WhiteboardPackage.Literals.TRIANGLE__TOP_POINT_C, newTopPointC);
	}

} //TriangleImpl
